package com.sofwin.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sofwin.mapper.BTestMapper;
import com.sofwin.pojo.BTest;
import com.sofwin.service.TestService;
@Service
public class TestServiceImpl implements TestService {
	@Autowired
	private BTestMapper mapper;
	@Override
	public void saveTests(List<BTest> tests) {
		for (BTest bTest : tests) {
			mapper.saveBTest(bTest);
			int i=1/0;
		}
	}

}
